package your.rfgui.extgui.service.intf;

import your.rfgui.extgui.data.intf.GuiParentChildEntity;
import eu.webhib.frmwrk.service.intf.ParentChildService;
import java.util.List;

/**
 * Interface of a persistent entity service responsible for entities with a
 * parent/child relationship of type T
 * @param T type of the entity managed with parent/child relationship
 */
public interface GuiParentChildService<T extends GuiParentChildEntity<T>> extends ParentChildService<T>,
        GuiBaseService<T> {

   /**
    * Return all top level entities, the ones having no parents (null-parents)
    */
   @Override
   List<T> getRootList();
}
